//
//  HomeTableViewController.swift
//  sinaweibo
//
//  Created by mac on 15/11/10.
//  Copyright © 2015年 mac. All rights reserved.
//

import UIKit
import AFNetworking
import SVProgressHUD
class HomeTableViewController: BaseTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        visitorLoginView?.setUIInfo(nil, title: "关注一些人，回这里看看有什么惊喜")

     
        }
    
    func demo() {
        let AFN = AFHTTPSessionManager()
        SVProgressHUD.show()
        AFN.GET("http://www.weather.com.cn/data/sk/101010100.html", parameters: nil, success: { (task, result) -> Void in
            //SVProgressHUD.dismiss()
            print(result)
            }) { (_, error) -> Void in
                print(error)
                SVProgressHUD.showErrorWithStatus("网络请求失败")
    }
    }

}
